projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d272840
)
Default construct to eliminate warning in geojson
author
Robert Lipe
<robertlipe@gpsbabel.org>
Wed, 19 Dec 2018 04:49:13 +0000
(22:49 -0600)
committer
Robert Lipe
<robertlipe@gpsbabel.org>
Wed, 19 Dec 2018 04:49:13 +0000
(22:49 -0600)
geojson.cc
patch
|
blob
|
history
diff --git
a/geojson.cc
b/geojson.cc
index 8fa1ded079b59f50cdebcf100f2ec036f01c9487..c11e433af12417a739e09b8eb1466cf1bf1c72d4 100644
(file)
--- a/
geojson.cc
+++ b/
geojson.cc
@@
-164,7
+164,7
@@
geojson_read() {
file.open(QIODevice::ReadOnly | QIODevice::Text);
QString file_content = file.readAll();
file.close();
- QJsonParseError error;
+ QJsonParseError error
{}
;
QJsonDocument document = QJsonDocument::fromJson(file_content.toUtf8(), &error);
QJsonObject rootObject = document.object();